Pruning operators for answer set programming systems
نویسندگان
چکیده
Answer Set Programming (ASP) is a novel paradigm in Logic Programming, which permits solving problems in a simple and highly declarative way. The language of ASP (function-free disjunctive logic programming) is very expressive and supports the representation of problems of high computational complexity (specifically, all problems in the complexity class P2 = NPNP). Importantly, the ASP encoding of a large variety of problems is often very concise, simple, and elegant. In this paper, we explain the computational process performed by ASP systems, with a focus on search space pruning, which is crucial for the efficiency. We present two suitable operators for pruning (Fitting and Well-founded), discuss their peculiarities and differences with respect to efficiency and effectiveness. We design an intelligent strategy for combining the two operators, which exploits the advantages of both. We implement our approach in the ASP system DLV, and perform some experiments. The experiments show interesting results, and evidence how the choice of the pruning operator affects the performances of ASP systems. 1D.E.I.S., University of Calabria, 87030 Rende (CS), Italy. E-mail: [email protected] 2Institut für Informationssysteme, Technische Universität Wien, A-1040 Wien, Austria. E-mail: [email protected] 3Department of Mathematics, University of Calabria, 87030 Rende (CS), Italy. E-mail: [email protected] 4Institut für Informationssysteme, Technische Universität Wien, A-1040 Wien, Austria. E-mail: [email protected] Acknowledgements: This work was supported by FWF (Austrian Science Funds) under the projects Z29-INF and P14781. Copyright c 2001 by the authors 2 INFSYS RR 1843-01-07
منابع مشابه
Pruning in Logic Programming
The logic programming community has a love{hate relationship with operators for pruning the search space of logic programs such as cut, commit, once, conditionals and variations on these. Pruning operators typically are not declarative, result in incom-pleteness and/or unsoundness, decrease readability and exibility of code and make program analysis and transformation more diicult. Despite this...
متن کاملLookahead in Smodels Compared to Local Consistencies in CSP
In answer set programming systems like Smodels and some SAT solvers, constraint propagation is carried out by a mechanism called lookahead. The question arises as what is the pruning power of lookahead, and how such pruning power fares in comparison with the consistency techniques in solving CSPs. In this paper, we study the pruning power of lookahead by relating it to local consistencies under...
متن کاملProperties of maximal cliques of a pair-wise compatibility graph for three nonmonotonic reasoning system
In this paper we define the notion of a compatibility relation so as to have a common framework for three nonmonotonic reasoning systems: normal logic programming, extended logic programming, and a restricted form of default logic. We show some properties of the maximal cliques of the pair-wise compatibility graph givn by the relation between the rules of the various reasoning systems. Properti...
متن کاملPruning Operators for Disjunctive Logic Programming Systems
Disjunctive Logic Programming (DLP) is an advanced formalism for knowledge representation and reasoning. The language of DLP is very expressive and supports the representation of problems of high computational complexity (specifically, all problems in the complexity class ΣP2 = NP ). The DLP encoding of a large variety of problems is often very concise, simple, and elegant. In this paper, we ex...
متن کاملA robust aggregation operator for multi-criteria decision-making method with bipolar fuzzy soft environment
Molodtsov initiated soft set theory that provided a general mathematicalframework for handling with uncertainties in which we encounter the data by affix parameterized factor during the information analysis as differentiated to fuzzy as well as bipolar fuzzy set theory.The main object of this paper is to lay a foundation for providing a new application of bipolar fuzzy soft tool in ...
متن کامل